<!doctype html>
<html lang="ch">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="res/layui/css/layui.css" />
    <link rel="stylesheet" href="res/css/global.css" />
    <title>ModifyCategory</title>
</head>
<body>
<form method="get" action="/modifyCategory">
    <#list category as category >
        <div class="layui-form-item">
            <label for="L_email" class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input type="hidden" id="L_email" name="c_id" value="${category.id}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_pass" class="layui-form-label">name</label>
            <div class="layui-input-inline">
                <input type="text" id="L_pass" name="name" required lay-verify="required" autocomplete="off" class="layui-input" value="${category.name}">
            </div>
        </div>
        <div class="layui-form-item">
            <button class="layui-btn" >Modify</button>

        </div>
    </#list>
    </form>

</body>
</html>